package com.applet.user.domain.dto;

import com.applet.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class ApplyForDto {

    @ApiModelProperty(value = "查询类型 0查询自己的申请记录 1查询被申请的兼职记录",dataType = "Long")
    private Integer type;

    @ApiModelProperty(value = "兼职申请表id",dataType = "Long")
    @Excel(name = "兼职申请表id")
    private Long publishId;

    /** 申请人用户id */
    @ApiModelProperty(value = "申请人用户id",dataType = "Long")
    @Excel(name = "申请人用户id")
    private Long userId;

    /** 发布者用户id */
    @ApiModelProperty(value = "发布者用户id",dataType = "Long")
    @Excel(name = "发布者用户id")
    private Long publishUserId;

    /** 用户昵称 */
    @ApiModelProperty(value = "用户昵称",dataType = "String")
    @Excel(name = "用户昵称")
    private String nickName;

    /** 申请人称呼 */
    @ApiModelProperty(value = "申请人称呼",dataType = "String")
    @Excel(name = "申请人称呼")
    private String name;

    /** 申请状态：0正常 撤销 */
    @ApiModelProperty(value = "申请状态(0正常 1撤销)",dataType = "Integer")
    @Excel(name = "申请状态：0正常 1撤销")
    private Integer status;

    /** 发布者处理状态： 0 未处理 1已处理 */
    @ApiModelProperty(value = "发布者处理状态(0 未处理 1已处理)",dataType = "Integer")
    @Excel(name = "发布者处理状态： 0未处理 1已处理")
    private Integer disposeStatus;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间",dataType = "Date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getPublishId() {
        return publishId;
    }

    public void setPublishId(Long publishId) {
        this.publishId = publishId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getPublishUserId() {
        return publishUserId;
    }

    public void setPublishUserId(Long publishUserId) {
        this.publishUserId = publishUserId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDisposeStatus() {
        return disposeStatus;
    }

    public void setDisposeStatus(Integer disposeStatus) {
        this.disposeStatus = disposeStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
